﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace common
{
    /// <summary>
    /// 短彩营销平台数据定义：
    /// 1、SMS消息的格式定义
    /// </summary>
    [Serializable]
    public class SMSMsg
    {

        private string _OrgID;
        private string _destid;
        private string _procid;
        private string _TransID;
        private string _ProcTime;
        private string _MsgActive;
        private string _MsgType;
        private string _Ver;
        private Response _Response = new Response();
        private MO mo = new MO();
        private MT mt = new MT();
        private string _MsgCont;

        public MO Mo
        {
            get { return mo; }
            set { mo = value; }
        }

        public MT Mt
        {
            get { return mt; }
            set { mt = value; }
        }

        public Response Response
        {
            get { return _Response; }
            set { _Response = value; }
        }

        public string MsgCont
        {
            get { return _MsgCont; }
            set { _MsgCont = value; }
        }

        public string MsgType
        {
            get { return _MsgType; }
            set 
            {
                _MsgType = value; 
            }
        }

        public string Ver
        {
            get { return _Ver; }
            set { _Ver = value; }
        }

        public string MsgActive
        {
            get { return _MsgActive; }
            set { _MsgActive = value; }
        }

        public string ProcTime
        {
            get { return _ProcTime; }
            set { _ProcTime = value; }
        }

        public string OrgID
        {
            get { return _OrgID; }
            set { _OrgID = value; }
        }
        public string ProcID
        {
            get { return _procid; }
            set { _procid = value; }
        }
        public string TransID
        {
            get { return _TransID; }
            set { _TransID = value; }
        }
        public string Destid
        {
            get { return _destid; }
            set { _destid = value; }
        }
    }

    [Serializable]
    public class Response
    {
        private string _RspType;
        private string _RspCode;
        private string _RspDesc;

        public string RspCode
        {
            get { return _RspCode; }
            set { _RspCode = value; }
        }

        public string RspDesc
        {
            get { return _RspDesc; }
            set { _RspDesc = value; }
        }

        public string RspType
        {
            get { return _RspType; }
            set { _RspType = value; }
        }
    }
}
